# /app/core/dependencies.py
from fastapi import Depends

from .database import get_db

def get_database():
    """数据库会话依赖。"""
    return Depends(get_db)